package Dao;

import Entity.Message;
import java.util.List;

public interface MessageDaoImpl {
    public List<Message> findAllMessage();
    public Message findById(int id);
    public List<Message> findBySe_number(String se_number);
    public List<Message> findByRe_number(String re_number);
    public List<Message> findByStatus(int status);
    public List<Message> findByRe_numberANDStatus(String re_number, int status);

    public boolean addMessage(Message message);
    public boolean updateMessage(Message message);
    public boolean deleteMessage(Message message);
}
